package com.yh.travel.core.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName BaseEntity
 * @Description 实体类基类
 * @Author 0715-YuHao
 * @Date 2020/10/31 11:12
 */
@Data
public abstract class BaseEntity implements Serializable {
    @TableId(value = "id_", type = IdType.AUTO)
    protected Long id;
}
